const asyncRouterMap = [{
    path: '/home',
    component: () => import(/* webpackChunkName: "about" */ '../views/Home.vue'),
    children: [{
        path: '/home',
        redirect: '/home/Property'
    }, {
        path: '/home/Property',
        title: '房源管理',
        icon: 'el-icon-menu',
        roles: ['管理员', '员工'],
        component: () => import(/* webpackChunkName: "Property" */ '../views/room/Property.vue')
    }, {
        path: '/home/LiveBroadcast',
        title: '直播管理',
        icon: 'el-icon-video-camera-solid',
        roles: ['管理员', '员工'],
        component: () => import(/* webpackChunkName: "LiveBroadcast" */ '../views/room/LiveBroadcast.vue')
    }, {
        path: '/home/GroupBuy',
        title: '团购管理',
        icon: 'el-icon-shopping-bag-1',
        roles: ['管理员', '员工'],
        component: () => import(/* webpackChunkName: "GroupBuy" */ '../views/room/GroupBuy.vue')
    }, {
        path: '/home/Audit',
        title: '审核管理',
        icon: 'el-icon-connection',
        roles: ['管理员'],
        component: () => import(/* webpackChunkName: "Audit" */'../views/room/Audit.vue')
    }, {
        path: '/home/Order',
        title: '订单管理',
        icon: 'el-icon-shopping-cart-full',
        roles: ['管理员'],
        component: () => import(/* webpackChunkName: "Order" */'../views/room/Order.vue')
    }, {
        path: '/home/News',
        title: '资讯管理',
        icon: 'el-icon-chat-dot-round',
        roles: ['管理员'],
        component: () => import(/* webpackChunkName: "News" */'../views/room/News.vue')
    }, {
        path: '/home/Broker',
        title: '经纪人管理',
        icon: 'el-icon-user',
        roles: ['管理员'],
        component: () => import(/* webpackChunkName: "Broker" */'../views/room/Broker.vue')
    }]
}]

export default asyncRouterMap